package blog.entity;

import java.util.Date;

/**
 * UserInfo entity. @author MyEclipse Persistence Tools
 */

public class UserInfo implements java.io.Serializable {

	// Fields

	private Integer userId;
	private String username;
	private String password;
	private Integer sex;
	private Date birthday;
	private String address;
	private String email;
	private String qq;
	private Integer state;
	private String question;
	private String answer;

	// Constructors

	/** default constructor */
	public UserInfo() {
	}
	
	
	public UserInfo(String address, String answer, Date birthday, String email,
			String password, String qq, String question, Integer sex,
			Integer state,String username) {
		super();
		this.address = address;
		this.answer = answer;
		this.birthday = birthday;
		this.email = email;
		this.password = password;
		this.qq = qq;
		this.question = question;
		this.sex = sex;
		this.state = state; 
		this.username = username;
	}





	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Integer getSex() {
		return sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getQq() {
		return qq;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public String getQuestion() {
		return question;
	}

	public void setQuestion(String question) {
		this.question = question;
	}

	public String getAnswer() {
		return answer;
	}

	public void setAnswer(String answer) {
		this.answer = answer;
	}

	
}